ExamPlay Light Logo
সাইন ইন করুন

Computer Science for IGCSE & O level - Programming (Section 1 - No. 9)

What will happen if you try to access a local variable outside of its scope?
The program will print the variable's value.
The program will generate an error.
The program will automatically assign a default value.
The program will ask the user to input the value.

ব্যাখ্যা

Local variables' accessibility is limited, so attempting to use them outside of the scope will cause an error.

মন্তব্য (0)

মন্তব্য লগইন করুন
বিজ্ঞাপন
BrainBehindX Inc Logo
©2026; দ্বারা চালিত BrainBehindX Inc